from datetime import date, timedelta

current_year = date.today().year

first_day = date(current_year, 1, 1)

weekday = first_day.weekday()

if weekday == 6:
    first_sunday = first_day
else:
    first_sunday = first_day + timedelta(days=(6 - weekday))

sundays = []
current_sunday = first_sunday
while current_sunday.year == current_year:
    sundays.append(current_sunday)
    current_sunday += timedelta(days=7)

print(f"{current_year}年所有星期天的日期：")
for sunday in sundays:
    print(f"{sunday.month}月{sunday.day}日")